
cd "$OUT"


***Combine figures

graph combine OHIE_figurebounds.gph LinkedIn_figurebounds.gph, rows(1) cols(2)
graph export OHIELinkedIn_figurebounds.png, width(4000)

graph combine Elite_figurebounds.gph, rows(1) cols(1) 
graph export Elite_figurebounds.png, width(4000)

foreach EXP in OHIE LinkedIn Elite { 
	
if "`EXP'"=="OHIE"		local title "Panel A: Health insurance" 	
if "`EXP'"=="LinkedIn" 	local title "Panel B: LinkedIn training" 	
if "`EXP'"=="Elite"		local title "Elite university"				

graph combine `EXP'_figureassumptions_d1mindand.gph, rows(1) cols(1) title("`title'", color(gs0) size(medium)) 
graph export `EXP'_figureassumptions_d1mindand.png, width(4000)

graph combine `EXP'_figureassumptions_d1mindor.gph, rows(1) cols(1)
graph export `EXP'_figureassumptions_d1mindor.png, width(4000)

erase `EXP'_figurebounds.gph 
erase `EXP'_figureassumptions_d1mindand.gph 
erase `EXP'_figureassumptions_d1mindor.gph 
}

